package com.fan.websocketstudy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: fan
 * @CreateTime 2024/6/1 23:05
 * @Description
 * @Version 1.0
 */
@TableName("user")
@Data
public class User {


    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private Integer age;

    private String avatar;

}
